package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.SysBudgetYouyong;
import org.apache.ibatis.annotations.Param;

/**
 * SysBudgetYouyongMapper接口
 * 
 * @author SYF
 * @date 2025-06-10
 */
public interface SysBudgetYouyongMapper 
{
    /**
     * 查询SysBudgetYouyong
     * 
     * @param year SysBudgetYouyong主键
     * @return SysBudgetYouyong
     */
    public SysBudgetYouyong selectSysBudgetYouyongByYear(String year);

    /**
     * 查询SysBudgetYouyong列表
     * 
     * @param sysBudgetYouyong SysBudgetYouyong
     * @return SysBudgetYouyong集合
     */
    public List<SysBudgetYouyong> selectSysBudgetYouyongList(SysBudgetYouyong sysBudgetYouyong);

    /**
     * 新增SysBudgetYouyong
     * 
     * @param sysBudgetYouyong SysBudgetYouyong
     * @return 结果
     */
    public int insertSysBudgetYouyong(SysBudgetYouyong sysBudgetYouyong);

    /**
     * 修改SysBudgetYouyong
     * 
     * @param sysBudgetYouyong SysBudgetYouyong
     * @return 结果
     */
    public int updateSysBudgetYouyong(SysBudgetYouyong sysBudgetYouyong);

    /**
     * 删除SysBudgetYouyong
     * 
     * @param year SysBudgetYouyong主键
     * @return 结果
     */
    public int deleteSysBudgetYouyongByYear(String year);

    /**
     * 批量删除SysBudgetYouyong
     * 
     * @param years 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBudgetYouyongByYears(String[] years);

    public List<Map<String,Object>> selectBugetSummary(@Param("year") String year);
}
